<?php
abstract class Nadeb_Form_Dataform
{
	private $element;
	
	public abstract function __construct();
	
	public static function get_instance($_param)
	{
		$obj = "Nadeb_Form_".ucfirst($_param["type"]);
		$element = new $obj($_param);
		
		return $element;
	}
	
	abstract function create_object();
}
